package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * ApiRequestGetGroupOfOrgData
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class ApiRequestGetGroupOfOrgData   {
  @JsonProperty("orgId")
  private String orgId = null;

  public ApiRequestGetGroupOfOrgData orgId(String orgId) {
    this.orgId = orgId;
    return this;
  }

  /**
   * 营业部ID，空值-当前营业部
   * @return orgId
  **/
  @ApiModelProperty(value = "营业部ID，空值-当前营业部")


  public String getOrgId() {
    return orgId;
  }

  public void setOrgId(String orgId) {
    this.orgId = orgId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiRequestGetGroupOfOrgData apiRequestGetGroupOfOrgData = (ApiRequestGetGroupOfOrgData) o;
    return Objects.equals(this.orgId, apiRequestGetGroupOfOrgData.orgId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(orgId);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiRequestGetGroupOfOrgData {\n");
    
    sb.append("    orgId: ").append(toIndentedString(orgId)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

